package com.wxtl.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.wxtl.dao.CityDAO;
import com.wxtl.entity.GCity;

@Service
public class CityService {
	private CityDAO cityDAO;

	public CityDAO getCityDAO() {
		return cityDAO;
	}

	public void setCityDAO(CityDAO cityDAO) {
		this.cityDAO = cityDAO;
	}

	public List<GCity> queryCityByProvince(int id){
		return cityDAO.queryCityByProvince(id);
	}
}
